package router

import "tem/controller"

func InitInstantRouter() {
	r := R.Group("/instant")
	{
		r.POST("/create", controller.InstantController{}.Create)
		r.GET("/list", controller.InstantController{}.GetAllList)
		r.GET("/allList", controller.InstantController{}.GetAllList)
		r.POST("/getlistbyid", controller.InstantController{}.GetListById)
	}
}
